//
//  ProdcutListCategoryModel.h
//  ChunLaiZhuangClient
//
//  Created by zzs on 16/3/22.
//  Copyright © 2016年 CLZ. All rights reserved.
//某一个分类下面的产品列表及子分类

#import "BaseModel.h"

@class ProdcutListSubCategoryModel;
@interface ProdcutListCategoryModel : BaseModel
@property(nonatomic,strong)ProdcutListSubCategoryModel*  data;
@end



@interface ProdcutListSubCategoryModel : BaseModel
@property(nonatomic,copy)NSString *category_id;
@property(nonatomic,copy)NSString *total_page;
@property(nonatomic,copy)NSArray  *subcategories;
@property(nonatomic,copy)NSArray  *products;
@end


@interface SubcategoriesModel : BaseModel
@property(nonatomic,copy)NSString *category_id;
@property(nonatomic,copy)NSString *name;
@property(nonatomic,copy)NSString *color;
@property(nonatomic,copy)NSString *image;
@end

@interface ProductListDetailModel : BaseModel
@property(nonatomic,copy)NSString *product_id;
@property(nonatomic,copy)NSString *name;
@property(nonatomic,copy)NSString *price;
@property(nonatomic,copy)NSString *image;
@property(nonatomic,copy)NSString *special;
@property(nonatomic,copy)NSString *rating;
@property(nonatomic,copy)NSString *discount;
@property(nonatomic,copy)NSString *quantity;  //数量
@property(nonatomic,copy)NSString *in_stock;  //是否售罄
@end

